$(document).ready(function(){	
	$("#zoom").elevateZoom({
		gallery:'galeria', 
		cursor: 'pointer', 
		galleryActiveClass: 'active',
		loadingIcon: 'http://localhost/leidylu/images/ajax-loader.gif',
		zoomWindowFadeIn: true,
		borderColour: "#785599",
		lensBorder: 10
	});
	//pass the images to Fancybox 
	$("#zoom").bind("click", function(e) { 
		var ez = $('#zoom').data('elevateZoom');	
		$.fancybox(ez.getGalleryList());
		return false; 
	});
});